package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

/**
 * @author jt
 * @date 2024/8/3 22:46
 */
@Data
@TableName("logs_item")
@ApiModel
public class LogsItem {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "logsId，必填")
    private String logsId;

    //类型
    @ApiModelProperty(value = "型号参照code，必填")
    private String type;


    //长度
    @ApiModelProperty(value = "长度，必填")
    private String length;

    //数量
    @ApiModelProperty(value = "数量，必填")
    private Integer num;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String typeName;
}
